package com.jilujia.web.json;

import java.util.List;

import org.springframework.validation.ObjectError;

import com.jilujia.framework.web.json.JsonData;

public class BlogData extends JsonData {
	private Long userId;
	private Long blogId;

	public BlogData(int error, List<ObjectError> messages, Long userId, Long blogId) {
		super(error, messages);
		this.setUserId(userId);
		this.setBlogId(blogId);
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getBlogId() {
		return blogId;
	}

	public void setBlogId(Long blogId) {
		this.blogId = blogId;
	}

}
